home *** CD-ROM | disk | FTP | other *** search
Text File | 1991-05-23 | 1.1 KB | 40 lines | [TEXT/MPWi] |
- # S O U R C E B U G I N S T A L L A T I O N S C R I P T
- #
- # Copyright Apple Computer, Inc. 1991 - All rights reserved.
- #
- #
- # This script is used to install the SourceBug debugger, version 1.0d32 from
- # the E.T.O. #4 distribution compact disk into a folder called "SourceBug Folder"
- # on the destination hard disk.
- #
- # Options: None
- #
- # This script makes use of the following Shell variables:
- #
- # {CDVolume} - the name of the CD Distribution volume
- #
- # {Tools} - the "Tools - Objects" folder
- #
- # {DestVolume} - the name of the volume from which the Installer was launched
- #
- # {SBOption} - a flag used to indicate which version of SourceBug to install
- #
-
- set Source "{CDVolume}{Tools}SourceBug"
-
- ### See if a folder called "SourceBug Folder" already exists,
- ### if so, rename it to "SourceBug Folder.Old"
-
- if "`Exists -d "{DestVolume}SourceBug Folder"`"
- if "`Exists -d "{DestVolume}SourceBug Folder.Old"`"
- Delete -y "{DestVolume}SourceBug Folder.Old"
- End
-
- Rename -y "{DestVolume}SourceBug Folder" "{DestVolume}SourceBug Folder.Old"
- End
-
- Duplicate -y "{Source}" "{DestVolume}SourceBug Folder:"
-
- ### That's It!
-
- Exit 0